package com.ywger.service.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.math.BigInteger;

/**
 * @author chenmeng
 * @date 2019-01-15 17:05
 * @desc
 */
@Component
@ConfigurationProperties(prefix="server")
@Data
public class ServerProperty {

    private String privateKey;

    private String infuraToken;

    private String fromAddress;

    private String contractAddress;

    private String resolverAddress;

    private String ethClientUrl;

    private Long gasLimit;

    private Long maxPriorFee;

    private Integer splitListSize = 50;

    private Integer sleepSecond = 100;

    //交易速度
    private String txSpeed;
}
